/*
 * @Descripttion: your project
 * @version: 1.0
 * @Author: sunxiantao
 * @Date: 2022-10-19 11:53:29
 * @LastEditors: sunxiantao
 * @LastEditTime: 2022-10-20 17:32:12
 */
import request from '@/utils/request'
/**
 * 字典
 */
export function getDictByCode(dictCode) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/sysDictionary/getDictByCode',
    method: 'POST',
    data: {
      dictCode
    }
  })
}
/**
 * 获取列表
 */
export function queryPage(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/areaWorkRecord/queryPage',
    method: 'POST',
    data
  })
}
/**
 * 发布成绩
 */
export function publishScore(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/areaWorkRecord/publishScore',
    method: 'POST',
    data
  })
}
/**
 * 修改备注
 */
export function updateRemark(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/areaWorkRecord/updateRemark',
    method: 'POST',
    data
  })
}
/**
 * 修改结课状态
 */
export function updateStatus(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/areaWorkRecord/updateStatus',
    method: 'POST',
    data
  })
}
/**
 * 结课配置获取详情
 */
export function concludeGetData(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/areaGraduateConfig/findConfiguration',
    method: 'post',
    data
  })
}

/**
 * 获取考试成绩列表
 */
export function ScoreList(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/areaHistoryRecord/queryPageExam',
    method: 'POST',
    data
  })
}
